package com.shyroke.daydayzhuansvc.service;

import com.shyroke.daydayzhuanapi.dto.LabelDto;
import com.shyroke.daydayzhuanapi.dto.LabelLabelListDto;
import com.shyroke.daydayzhuanapi.entity.LabelEntity;
import com.shyroke.daydayzhuansvc.util.Page;
import com.shyroke.daydayzhuansvc.util.TabelData;

import java.util.List;

/**
 * @author youhj
 * @date 2019/9/26 0026 下午 1:23
 */
public interface ILableService {
    List<LabelDto> getHotkeyList();

    TabelData<LabelLabelListDto> getTableData(Page page, LabelDto label);

    LabelEntity findByLableName(String labelName);

    void save(LabelEntity label);

    void saveOne(LabelDto label);
}
